using System;

namespace Math
{
    public static class Interpolate
    {
        public static float Avg(float a, float b)
        {
            return (a+b)*0.5f;
        }

        public static float Lerp(float t, float a, float b)
        {
            return a+t*(b-a);
        }
    }
}